package com.xianbeiying.app.ckgl.util;

import android.util.Log;

/**
 * 打印工具类
 * */
public class LogUtils {
    private static boolean isShowMessage = true;

    public static void e(String tag, Object value) {
        if (isShowMessage&&value!=null) {
            Log.e(tag, String.valueOf(value));
        }
    }

    public static void showErrorMessage(Throwable e) {
        if (isShowMessage) {
            e.printStackTrace();
        }
    }
}
